package com.xh.petdogexpert.expert.service;

import java.util.List;
import java.util.Map;

import com.baidu.yun.push.exception.PushClientException;
import com.baidu.yun.push.exception.PushServerException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.xh.petdogexpert.expert.dto.ArticlePush;

public interface IArticleService {

	public String pushToAndroid(Map<String, Object> content)
			throws PushClientException, PushServerException, JsonProcessingException;

	public ArticlePush getArticleDetail(Integer id);

	public List<ArticlePush> queryArticlePushs(ArticlePush articlePush, Integer pagenum, Integer pagesize);

	public boolean zan(Integer id);
	
	Integer getArticleZan(int articleId);
}
